package com.shigen.demo.service;

import com.alibaba.fastjson.JSONObject;
import com.shigen.demo.bean.PageRequest;
import com.shigen.demo.bean.Result;
import com.shigen.demo.entity.req.UserReq;
import javax.servlet.http.HttpServletRequest;

public interface IUserService {

  Result Login(UserReq.Login login, HttpServletRequest request);

  JSONObject getOnlineUser(PageRequest page);

  Result forceLogOut(String token, Integer userid);

  long getOnlineUserCount();
}
